package com.jt.yygh.hospital.repository;

import com.jt.yygh.hospital.entity.hosp.Schedule;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author jiang tao
 * @date 2022/3/3
 * @description:
 **/
@Repository
public interface ScheduleRepository extends MongoRepository<Schedule, String> {

    Schedule getScheduleByHosScheduleId(String hoscode, String hosScheduleId);

    Schedule getScheduleByHoscodeAndHosScheduleId(String hoscode, String hosScheduleId);
}
